package com.zxm.dubbodemo.consumer.config;

import com.alibaba.csp.sentinel.annotation.aspectj.SentinelResourceAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *  @author: zhang_xming
 *  @Date: 2019/9/16 11:09
 *  @Description:
 */
@Configuration
public class BootstrapConfiguration {


    @Bean
    public SentinelResourceAspect sentinelResourceAspect() {
        return new SentinelResourceAspect();
    }
}
